using System.Collections.Generic;

namespace MySqlBackUp.Server.Models
{

    public class Config
    {
        public string MySqlFolder { get; set; }

        public string ConfOpenProcess { get; set; }

        public string SuccessEmail { get; set; }

        public string ErrorEmail { get; set; }

        /// <summary>
        /// 执行时间: 1607，精确到分钟,16:07
        /// </summary>
        public string ExecTime { get; set; }

        /// <summary>
        /// 间隔天数
        /// </summary>
        public int IntervalDay { get; set; }

        /// <summary>
        /// 下一次执行时间：20220524
        /// </summary>
        public string NextExecDay { get; set; }
        /// <summary>
        /// 备份配置
        /// </summary>
        public List<BackUpConfig> BackUpConfigs { get; set; }
    }
}